package com.ch01.ex25;

/**
 * Created by zc on 2016/1/27.
 */
public class TicketOffice1 implements Runnable {

    private Cinema cinema;

    public TicketOffice1(Cinema cinema) {
        this.cinema = cinema;
    }

    @Override
    public void run() {
        cinema.sellTickets1(3);
        cinema.sellTickets2(2);
        cinema.returnTickets1(5);
    }
}
